Shell Script: Yes / No Prompt, Heredoc, In Place Edits And More